package com.spring.test_back_end.base.dao;

import com.spring.test_back_end.base.dao.pojo.User;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface UserMapper {
    User selectByPrimaryKey(Integer id);

    int insertSelective(User record);

    int updateByPrimaryKeySelective(User record);

    int deleteByPrimaryKey(Integer id);

    List<User> selectByCondition(User record);

    List<User> selectAll();

    int deleteBySelective(User record);

    int updateBySelectiveWithIds(@Param("record") User record, @Param("list") List<Integer> ids);
}